﻿namespace N2.Web.UI
{
	/// <summary>
	/// Delegate a possibility to update an instance of a given ContentItem
	/// by a web control implementing this interface.
	/// The only way to use it is to associate a control to
	/// a ContentItem definition with [WithEditableUserControl] attribute.
	/// </summary>
	public interface IContentItemEditor
	{
		bool UpdateItem(ContentItem item);
	}
}
